import java.util.Scanner;

public class Deom02 {

	public static void main(String[] args) {
		int [][] arr = new int[5][6];
		Scanner sc=new Scanner(System.in);
		for (int j = 0; j < arr.length; j++) {
		System.out.println("请输入第:"+(j+1)+"个员工编号：");
		arr[j][0] = sc.nextInt();
		System.out.println("请输入第:"+(j+1)+"个员工忘打卡：");
		arr[j][1] = sc.nextInt();
		System.out.println("请输入第:"+(j+1)+"个员工迟到：");
		arr[j][2] = sc.nextInt();
		System.out.println("请输入第:"+(j+1)+"个员工早退：");
		arr[j][3] = sc.nextInt();
		System.out.println("请输入第:"+(j+1)+"个员工旷工：");
		arr[j][4] = sc.nextInt();
		
		arr[j][5]= arr[j][1]*10+arr[j][2]*20+arr[j][3]*20+arr[j][4]*100;
		}
		for (int i = 0; i < arr.length; i++) {
			for (int j = 0; j < arr.length; j++) {
				System.out.println(arr[j][i]+"\t");
			}
		}
	}
}